<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/5/20
 * Time: 14:57
 */
require __DIR__.'/../vendor/autoload.php';

use Swot\Index;
use App\App;

(new Index())->test();
(new App())->test();

// 可以用反射改进
\Swot\Foundation\Application::getInstance()->make('index')->test();
app('index')->test();